home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 1997-99 Pandemic Studios
- //
- // Dark Reign II
- //
-
- CreateObjectType("objective_start_reinforcements", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("VarConstInteger", "@jda.shuttledestroyed", "==", 1);
- Action()
- {
- NewObjective("objective_spawn_reinforcements1");
- NewObjective("objective_random_attacks");
- }
- }
- }
-
- CreateObjectType("objective_double_reinforcements", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("VarConstInteger", "@JDA.basegone", "==", 1);
- Action()
- {
- NewObjective("objective_spawn_reinforcements4");
- }
- }
- }
-
-
-
- CreateObjectType("objective_spawn_reinforcements1", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(210);
- }
-
- Action()
- {
- ExecuteScript("spawn1*", "squad.move.spawntotrail")
- {
- Op("%.types", "=", "reinforcements1");
- Op("%.region", "=", "CaravanSpawn");
- Op("%.trail", "=", "Reinforcement1");
- }
- NewObjective("objective_spawn_reinforcements2");
- }
- }
- }
-
- CreateObjectType("objective_spawn_reinforcements2", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(240);
- }
-
- Action()
- {
- ExecuteScript("spawn2*", "squad.move.spawntotrail")
- {
- Op("%.types", "=", "reinforcements2");
- Op("%.region", "=", "CaravanSpawn");
- Op("%.trail", "=", "Reinforcement2");
- }
- NewObjective("objective_spawn_reinforcements3");
- }
- }
- }
-
- CreateObjectType("objective_spawn_reinforcements3", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(180);
- }
-
- Action()
- {
- ExecuteScript("spawn3*", "squad.move.spawntotrail")
- {
- Op("%.types", "=", "reinforcements3");
- Op("%.region", "=", "CaravanSpawn");
- Op("%.trail", "=", "Reinforcement3");
- }
- NewObjective("objective_spawn_reinforcements1");
- }
- }
- }
-
- CreateObjectType("objective_spawn_reinforcements4", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(150);
- }
-
- Action()
- {
- ExecuteScript("spawn4*", "squad.move.spawntotrail")
- {
- Op("%.types", "=", "reinforcements4");
- Op("%.region", "=", "CaravanSpawn");
- Op("%.trail", "=", "Reinforcement1");
- }
- NewObjective("objective_spawn_reinforcements5");
- }
- }
- }
-
- CreateObjectType("objective_spawn_reinforcements5", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(210);
- }
-
- Action()
- {
- ExecuteScript("spawn5*", "squad.move.spawntotrail")
- {
- Op("%.types", "=", "reinforcements2");
- Op("%.region", "=", "CaravanSpawn");
- Op("%.trail", "=", "Reinforcement2");
- }
- NewObjective("objective_spawn_reinforcements4");
- }
- }
- }
-
-